<?php
namespace app\index\controller;
use think\Controller;

class Center extends Controller
{

    //登入
    public function login()
    {

        if( checksubmit('email') ){
            dd(11,$_POST);
        }
        return $this->fetch();
    }

    //注册
    public function reg()
    {
        if( checksubmit('username') ){
            dd(11,$_POST);
        }
        return $this->fetch();
    }




}
